package com.boc.langxiang.entity.request;

import com.boc.langxiang.manager.UserInfoManager;

/**
 * Created by Li Guoxi on 2016/7/1.
 */
public class AddToShoppingCarRequest extends MapParamsRequest {
    public static final String PRODUCT = "1";
    public static final String SHALO = "2";

    private String typeId;
    private String aid;
    private String pid;
    private String title;
    private String photo;
    private String number;
    private String size = "";
    private String price = "";

    @Override
    protected void putParams() {
        params.put("typeid", typeId);
        params.put("aid", String.valueOf(UserInfoManager.getInstance().getUserInfo().getId()));
        params.put("pid", pid);
        params.put("title", title);
        params.put("photo", photo);
        params.put("number", number);
        params.put("token", token);
        params.put("price", price);
        params.put("size", size);
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getAid() {
        return aid;
    }

    public void setAid(String aid) {
        this.aid = aid;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }
}
